/* 页面整体样式 */
body {
    margin: 0;
    padding: 0;
    background: #f5f5f5;
    font-family: Arial, sans-serif;
}

/* 顶部标题栏 */
.header-title {
    background: #87CEEB;
    color: white;
    text-align: center;
    padding: 15px 0;
    position: relative;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-title h1 {
    margin: 0;
    font-size: 20px;
}

.back-list {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    text-decoration: none;
    padding: 5px 15px;
    border: 1px solid white;
    border-radius: 4px;
    transition: all 0.3s;
}

.back-list:hover {
    background: white;
    color: #87CEEB;
}

/* 商品详情容器 */
.detail-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

/* 商品基本信息区域 */
.basic-info {
    display: flex;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

/* 商品图片区域 */
.goods-image-container {
    width: 400px;
    height: 400px;
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 4px;
}

.goods-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* 商品信息区域 */
.goods-info {
    flex: 1;
    margin-left: 40px;
    display: flex;
    flex-direction: column;
}

.goods-title {
    font-size: 24px;
    color: #333;
    margin: 0 0 20px 0;
    line-height: 1.4;
}

.goods-subtitle {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

/* 价格信息区域 */
.price-info {
    background: #fff1f1;
    padding: 20px;
    border-radius: 4px;
    margin: 20px 0;
}

.price-row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.price-label {
    color: #999;
    width: 80px;
}

.current-price {
    color: #f40;
    font-size: 30px;
    font-weight: bold;
}

.current-price::before {
    content: '¥';
    font-size: 20px;
    margin-right: 5px;
}

.original-price {
    color: #999;
    text-decoration: line-through;
    margin-left: 10px;
}

.original-price::before {
    content: '¥';
}

.discount {
    display: inline-block;
    color: white;
    background: #f40;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 10px;
    font-size: 14px;
}

/* 商品详细信息区域 */
.detail-info {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
}

.detail-title {
    padding: 15px 30px;
    border-bottom: 1px solid #eee;
}

.detail-title h2 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.detail-content {
    padding: 30px;
}

/* 商品参数表格 */
.params-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.params-table th,
.params-table td {
    padding: 10px;
    border: 1px solid #eee;
    text-align: left;
}

.params-table th {
    background: #f9f9f9;
    width: 120px;
} 